package com.jsb.laundry.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class HistoricalOrdersDetailsListVo {
    @ApiModelProperty("用户预约时间")
    private String appointmentTimeStr;
    @ApiModelProperty("用户地址")
    private String userAddress;
    @ApiModelProperty("用户姓名")
    private String userName;
    @ApiModelProperty("用户电话")
    private String userMobile;
    @ApiModelProperty("订单id")
    private String orderId;
    @ApiModelProperty("物流id")
    private String orderFulfillmentsId;
    @ApiModelProperty("订单流水")
    private List<OrderStatusInfo> orderStatusInfos;
    @ApiModelProperty("商品集合")
    private List<GoodsList> goodsLists;
    @Data
    public static class OrderStatusInfo{
        @ApiModelProperty("订单状态")
        private String orderStatus;
        @ApiModelProperty("操作时间")
        private String orderTime;
        @ApiModelProperty("订单方向")
        private String orderDirection;
    }
    @Data
    static class GoodsList{
        @ApiModelProperty("订单状态")
        private String img;
        @ApiModelProperty("操作时间")
        private String title;
        @ApiModelProperty("订单方向")
        private String orderDirection;
        @ApiModelProperty("子订单id")
        private String orderItemId;

    }



}
